from typing import Optional, TypedDict, List

from pydantic import BaseModel


class Attachments(BaseModel):
    filename: str
    id: int
    proxy_url: str
    size: int
    url: str
    spoiler: bool
    height: int
    width: int
    content_type: str


class CallbackData(BaseModel):
    type: str = None
    id: int
    content: str = None
    attachments: List[Attachments]
    embeds: List = None
    trigger_id: str = None
